<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>联系人</th>
            <th>电话号码</th>
            <th>联系地址</th>
            <th>邮政编码</th>
            <th>排序</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.name}</td>
            <td>{$vo.telphone}</td>
            <td><div title="{$vo.province} {$vo.city} {$vo.area} {$vo.street}" style="width:150px;" class="xsui-text-ellipsis">{$vo.province} {$vo.city} {$vo.area} {$vo.street}</div></td>  
            <td>{$vo.zip}</td>
            <td class="sort"><input type="text" value="{$vo.sort}" size="3" data-value="{$vo.sort}" data-url="{:AddonU('change_sort','id='.$vo['id'].'&sort=varsort')}" title="更改后,鼠标点击页面任意位置即可自动生效" /></td>
            <td class="status"><a href="{:AddonU('change_status','id='.$vo['id'].'&status=varstatus')}" data-value="{$vo.status}" title="点击隐藏" class="xsui-success"><i class="fa fa-check fa-fw"></i></a></td>
            <td>
                <ul class="xsui-operate-group">
                    <li><a href="#" class="xsui-btn ui-state-default xsui-icon-right">操作<i class="fa fa-caret-square-o-down"></i></a>
                        <ul>
                            <li><a href="{:AddonU('address_edit','customer_id='.$vo['customer_id'])}" class="lnk-edit-dialog" data-id="{$vo.id}" title="新增地址 {$vo.name}"><i class="fa fa-plus fa-fw"></i>新增</a></li>
                            <li><a href="{:AddonU('address_edit','id='.$vo['id'].'&customer_id='.$vo['customer_id'])}" class="lnk-edit-dialog" data-id="{$vo.id}" title="编辑地址 {$vo.name}"><i class="fa fa-edit fa-fw"></i>编辑</a></li>
                            <li><a href="{:AddonU('address_delete','customer_id='.$vo['id'])}" class="lnk-remove" data-id="{$vo.id}" title="删除地址 {$vo.name}"><i class="fa fa-remove fa-fw"></i>删除</a></li>
                        </ul>
                    </li>
                </ul>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>